Ext.define('SRMT.store.ProjectExplorer', {
	extend: 'Ext.data.TreeStore',
	model: 'SRMT.model.ProjectExplorer',
	proxy: {
		type: 'ajax',
		url: 'php/module/project_explorer/load_project_explorer.php',
		reader: {
			type: 'json',
			root: 'root'
		},
	},
	root: {
	    expanded: true,
	    expandable: true,
	    text: "Repository"
	},
	folderSort: true,
    sorters: [{
        property: 'text',
        direction: 'ASC'
    }],
	autoLoad: true
});